package com.link2room.optimus.facade;

import com.link2room.optimus.dto.param.manager.PricePoolManagerParamDto;
import com.link2room.common.jpa.result.QueryResult;
import com.link2room.optimus.dto.result.base.PricePoolDto;

/**
 * Created by sss on 2016/8/31.
 */
public interface IPricePoolFacadeService {
    /**
     * 保存价格池
     * @param pricePoolManagerParamDto
     * @throws Exception
     */
    void savePricePool(PricePoolManagerParamDto pricePoolManagerParamDto)throws Exception;

    /**
     * 更新价格池
     * @param pricePoolManagerParamDto
     * @throws Exception
     */
    void updatePricePool(PricePoolManagerParamDto pricePoolManagerParamDto)throws Exception;

    /**
     * 列出价格池列表
     * @param pricePoolManagerParamDto
     * @return
     * @throws Exception
     */
    QueryResult<PricePoolDto> listPricePools(PricePoolManagerParamDto pricePoolManagerParamDto)throws Exception;

    /**
     * 查询单个价格池
     * @param pricePoolManagerParamDto
     * @return
     */
    PricePoolDto getPricePool(PricePoolManagerParamDto pricePoolManagerParamDto) throws Exception;
}
